# 从键盘获取一个数字n
# 打印2+2+2...n个2的和
aa = 0
f = 0
n = int(input())
while aa < n:
    aa += 1
    f += 2
print(f)